package com.seagull.core.test.desing.zhuangshiqi;

import org.junit.Test;

/**
 * @author:jian.zhou
 * @DATE: 2017/12/27.
 * @Version:0.0.1
 * @Desc:
 */
public class Client {

    @Test
    public void decoate1(){
        Singer singer = new Singer("周杰伦");
        singer.sing();
    }

    @Test
    public void decoate(){
        SingerDecorator d = new SingerDecorator( new Singer("蔡依林"));
        d.sing();

    }
}
